
//export const MQTT_SERVICE = "ws://59.110.231.93:8083/mqtt"
// export const MQTT_SERVICE = "wss://kh.tyzfchina.com.cn:8084/mqtt"//生产环境
// export const MQTT_SERVICE = 'wss://tyzfbj.com:8084/mqtt' //测试环境
export const MQTT_USERNAME = 'admin'
export const MQTT_PASSWORD = '123456_nikoyose_85189633'
var mqurl=""
// if ((/(\/192.168.253.217)|(\/localhost)/ig).test(location.href)) {
//     mqurl = 'wss://tyzfbj.com:8084/mqtt' //测试环境
// } else{
//     mqurl = "wss://kh.tyzfchina.com.cn:8084/mqtt"
// }
if ((/(\/kh.tyzfchina.com.cn)/ig).test(location.href)) {
    mqurl = "wss://kh.tyzfchina.com.cn:8084/mqtt"
} else{
    // mqurl = 'wss://tyzfbj.com:8084/mqtt' //测试环境
    mqurl = "wss://kh.tyzfchina.com.cn:8084/mqtt"
}
console.log('mq地址', mqurl)
export const MQTT_SERVICE = mqurl
